package com.cloud.drore.eboss.supplier.service;

import com.cloud.drore.eboos.common.entity.supplier.ProductRelation;
import com.cloud.drore.eboos.common.entity.supplier.Ticket;
import com.cloud.drore.eboos.common.entity.supplier.TicketPrice;
import com.cloud.drore.eboss.supplier.entity.CombinationProduct;
import com.cloud.drore.eboss.supplier.entity.CombinationProductPrice;


import java.math.BigDecimal;
import java.util.List;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/2/1 10:57 <br>
 * @Author: <a href="1451173193@qq.com">杨亮</a>
 */
public interface IDistributorProductAssociationService {
    //新增门票后自动关联上所有分销商
    void setTicketToAllDistributor(ProductRelation productRelation, TicketPrice ticketPrice, Ticket ticketInfo);

    //新增组合门票后自动关联上所有分销商
    void setCombinationToAllDistributor(ProductRelation productRelation, BigDecimal totalPrice, CombinationProduct combinationProduct);

    //驳回状态的产品更新供应商价格时同时更新
    void updateCooperationSupplierPriceByProductId(Long productId, BigDecimal supplierPrice);

}